package com.example.testaar;

import android.app.Application;
import android.util.Log;

/**
 * @auth: njb
 * @date: 2023/1/11 16:41
 * @desc:
 */
public class TestManager {
    private static final String TAG = "TestManager";

    private static TestManager instance;
    private Application application;

    public void TestManager(){

    }

    public static TestManager getInstance(){
        if(instance == null){
            synchronized (TestManager.class){
                if(instance == null){
                    instance = new TestManager();
                }
            }
        }
        return  instance;
    }

    public void initManager(Application application){
        this.application = application;
        Log.d(TAG,"初始化成功"+application);
    }
}
